<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="/timefunction" prefix="tmf"%>
<jsp:include page="header.jsp"></jsp:include>
  <div id="content" >
  
  
	
    <div class="post" id="post-${curArticle.id }">
							<div class="entrytop">
								<div class="entry">
									<h2>
										<a
											href="${pageContext.request.contextPath}/blog/${curArticle.id}"
											rel="bookmark" title="Permanent Link to ${curArticle.title }">${curArticle.title
											}</a>
									</h2>
								</div>
							</div>

							<p class="postmeta">
								${tmf:getFormateTimeStr(" %Mc %De, %Y at %T12 %Nc",curArticle.postTime) } |
								<a href="${pageContext.request.contextPath}/category/${curArticle.category.id}" title="查看 未分类 的全部文章"
									rel="category">${curArticle.category.name }</a> 
									<c:if test="${adminIsLogin!=null}">
									&#183;
								<a class="post-edit-link"
								href="${pageContext.request.contextPath}/admin/blogs/${curArticle.id}/edit" title="编辑文章">编辑 </a>
								</c:if>
								<br />
								- Posted by
								<a href="">admin</a> |
								<a href="${pageContext.request.contextPath}/blog/${curArticle.id }#comments"
									class="comments-link">${fn:length(curArticle.comments)} Comment, Add Yours</a>
							</p>

		<div class="post-content">
			<p>
			${curArticle.content}
			</p>


			<jsp:include page="comments.jsp"></jsp:include>
			</div>
		</div><!-- post -->
		
  </div><!--/content -->
  
<jsp:include page="sidebar.jsp"></jsp:include>
<!-- 底部 -->
<jsp:include page="footer.jsp"></jsp:include>